home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6726 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: news.cc.utah.edu!su
  2. From: su@cadehp3.eng.utah.edu (Roger Su)
  3. Newsgroups: comp.lang.c
  4. Subject: Code for Parallel Port I/O
  5. Date: 13 Feb 1996 09:30:36 GMT
  6. Organization: University of Utah
  7. Message-ID: <4fplns$5ja@news.cc.utah.edu>
  8. NNTP-Posting-Host: cadehp3.eng.utah.edu
  9.  
  10. Okay, let me preface this message by saying I no NOTHING of C, C+, C++
  11. or any language that is named after a letter..:)
  12.  
  13. Now that I've got that out of the way, let me make my request.  I have a
  14. piece of hardware that creates data that I would like to input into my
  15. computer.  Basically it's a 12-bit word that I would like to store into a 
  16. file and then would like to manipulate it with another mathmatical program
  17. (Matlab for those of you keeping score at home).
  18.  
  19. I would have thought this would have been child's play with all the stuff
  20. that's already written for C.  I would have just looked into a book with
  21. a lot of I/O stuff and somebody would have written something for a parallel
  22. port.  Well, no such luck.  At least most of the books I've looked at
  23. pretty much ignore the parallel port for I/O and pretty much concentrate
  24. on the serial port.
  25.  
  26. So, if anybody out there has some code written for the parallel port and
  27. is willing to share, I would be more than obliged somehow to repay them
  28. (I work at a bike shop if there's any bike lover's out there).  Let me
  29. state that this is not for a commercial purpose and ABSOLUTELY WILL NOT
  30. be used in any manner in which I will collect money.  If there is any 
  31. doubt, I'm willing to go through the mumbo jumbo of writing some kind of
  32. disclaimer stipulating such.  I would of course give the writer all the
  33. credit for writing the program and such.
  34.  
  35. Let me also state, I am not a programmer, and in all honesty, learning C
  36. is not the way I want to go.  Usually I have a friend write the simple codes
  37. I need to interface with my hardware.  It's usually pretty trivial stuff
  38. that I just throw onto an EEPROM, but in this case, it's a little outta 
  39. his league.
  40.  
  41. Please feel free to email me with suggestions, ideas, or maybe the actual
  42. code...:)
  43.  
  44. Cheers.
  45.  
  46.  
  47. -- 
  48. Roger Su               |  Biking in Moab, UT
  49. su@eng.utah.edu        |  Hiking in Capitol Reef, UT
  50. su@ee.utah.edu         |  March '96
  51. roger.su@m.cc.utah.edu |  Looking for partners!
  52.